﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace sourcephi.Models
{
    public partial class dafen
    {
        public DTO.dafenDTO ToDto()
        {
            return new DTO.dafenDTO()
            {
                nid = this.nid,
                loginname = this.loginname,
                群众打分 = this.群众打分,
                部门打分 = this.部门打分,
                评委打分 = this.评委打分,
                姓名 = this.姓名,
                技术职称 = this.技术职称,
                所在部门 = this.所在部门,
                履行职责 = this.履行职责,
                工程师总结 = this.工程师总结,
                issum = this.issum,
                sum = this.sum,
                isother = this.isother,
                other = this.other,
                csource = this.csource,                
            };
        }
    }
}